package com.ecoolex.discount.sales.pojo;

import com.ecoolex.framework.common.annotation.Description;

import java.util.Arrays;

@Description({"查询用户折扣订单"})
public class QueryDiscountOrderDTO {

    @Description({"用户Id"})
    private Integer userId;

    @Description({"订单编号"})
    private String orderNo;

    @Description({"区域类型;国内;国外;"})
    private Integer regionType;

    @Description({"折扣品牌Id"})
    private Integer brandId;

    @Description({"产品Id"})
    private Integer productId;

    @Description({"折扣类型;充值/抵用券/礼品卡"})
    private Integer discountMode;

    @Description({"充值账户(充值类型时使用)"})
    private String rechargeAccount;

    @Description({"订单状态; 创建订单;取消;支付;处理;退款;完成;"})
    private Integer[] orderStatus;

    @Description({"不查询的状态"})
    private Integer[] notOrderStatus;

    @Description({"完成状态: 未知;部分完成;全部完成;"})
    private Integer completeStatus;

    public Integer getUserId() {
        return userId;
    }

    public QueryDiscountOrderDTO setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public QueryDiscountOrderDTO setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public Integer getRegionType() {
        return regionType;
    }

    public QueryDiscountOrderDTO setRegionType(Integer regionType) {
        this.regionType = regionType;
        return this;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public QueryDiscountOrderDTO setBrandId(Integer brandId) {
        this.brandId = brandId;
        return this;
    }

    public Integer getProductId() {
        return productId;
    }

    public QueryDiscountOrderDTO setProductId(Integer productId) {
        this.productId = productId;
        return this;
    }

    public Integer getDiscountMode() {
        return discountMode;
    }

    public QueryDiscountOrderDTO setDiscountMode(Integer discountMode) {
        this.discountMode = discountMode;
        return this;
    }

    public String getRechargeAccount() {
        return rechargeAccount;
    }

    public QueryDiscountOrderDTO setRechargeAccount(String rechargeAccount) {
        this.rechargeAccount = rechargeAccount;
        return this;
    }

    public Integer[] getOrderStatus() {
        return orderStatus;
    }

    public QueryDiscountOrderDTO setOrderStatus(Integer[] orderStatus) {
        this.orderStatus = orderStatus;
        return this;
    }

    public Integer[] getNotOrderStatus() {
        return notOrderStatus;
    }

    public QueryDiscountOrderDTO setNotOrderStatus(Integer[] notOrderStatus) {
        this.notOrderStatus = notOrderStatus;
        return this;
    }

    public Integer getCompleteStatus() {
        return completeStatus;
    }

    public QueryDiscountOrderDTO setCompleteStatus(Integer completeStatus) {
        this.completeStatus = completeStatus;
        return this;
    }

    @Override
    public String toString() {
        return "QueryDiscountOrderDTO{" +
                "userId=" + userId +
                ", orderNo='" + orderNo + '\'' +
                ", regionType=" + regionType +
                ", brandId=" + brandId +
                ", productId=" + productId +
                ", discountMode=" + discountMode +
                ", rechargeAccount='" + rechargeAccount + '\'' +
                ", orderStatus=" + Arrays.toString(orderStatus) +
                ", notOrderStatus=" + Arrays.toString(notOrderStatus) +
                ", completeStatus=" + completeStatus +
                '}';
    }
}
